﻿using System;

namespace CommonEngine
{
    /// <summary>
    /// 扩展键值对封装(公共层只做通用、组件的扩展，不涉及场景业务)
    /// </summary>
    [Serializable]
    public class DataBox
    {
        public long Seq { get; set; }
        public string Key { get; set; }
        public string Val { get; set; }
        public int level { get; set; }
        public string ItemID { get; set; }
        public string View { get; set; }
        public bool Selected { get; set; }
    }

    /// <summary>
    /// 容器泛型继承
    /// </summary>
    public class DataBox<T> : DataBox
    {
        public T Item { get; set; }
        public DataBox Own { get { return this; } }
    }

}
